Click here for Geek Gifts & Tech Toys
home account info subscribe login search My ITKnowledge FAQ/help site map contact us


 
Brief Full
 Advanced
      Search
 Search Tips
To access the contents, click the chapter and section titles.

Sams Teach Yourself MCSE Windows NT Server 4 in 14 Days
(Publisher: Macmillan Computer Publishing)
Author(s): David Schaer, et al
ISBN: 0672311283
Publication Date: 12/15/97

Bookmark It

Search this book:
 
Previous Table of Contents Next


6.3. Configuring RAID1

RAID1 is implemented in NT Server 4.0 as either disk mirroring or disk duplexing. Two disks work in a pair to provide redundancy. All data written to a mirrored partition on one disk is simultaneously written to the other. The original Berkeley RAID specifications outlined the mirroring of entire disks, hence the term disk mirroring. The actual implementation is really partition or volume mirroring.

Both disk mirroring and duplexing are considered expensive in terms of overhead. Because all data written to one partition is written to the mirror, there is a 50 percent loss of available space. Mirroring two 100MB partitions yields an available space of 100MB.

Any NT partition, including the boot and system partitions, can be part of a mirror set.

RAID1 results in increased read performance because data is read from both disks but generally results in a decrease in write performance because all data is written twice.

6.3.1. Disk Mirroring

Disk mirroring is really just partition mirroring. Any NT partition can be used in a mirror set regardless of the file system. This includes the boot and system partitions. The most common areas to mirror are the system and boot partitions. This is important because neither the system nor boot partition can be members of a fault-tolerant stripe set with parity.

All data is written to both partitions in a mirror set. Should one of the disks fail, the system will continue to run, providing the data from the remaining member of the set. The users will be unaware of the disk failure. The administrator will see the failure noted in the event log. Mirroring requires two physical disks and a single controller as shown in Figure 6.1.


Figure 6.1.  Mirroring requires two disks and a single controller.

The controller is the single point of failure in disk mirroring. If the controller fails, neither member of the mirror set will be accessible.

6.3.2. Establishing a Mirror Set

Follow these steps to establish a mirror set:

1.  From within Disk Administrator simply select the partition you want to mirror.
2.  Holding the Ctrl key, select an area of free space on a separate physical disk equal to or greater than the mirrored partition.
3.  Select Establish Mirror from the Fault Tolerance menu. (See Figure 6.2.) The resulting mirror set is shown in Figure 6.3.


Figure 6.2.  Mirroring the C drive from disk (0) to disk (2).


Figure 6.3.  The resulting mirror set.

6.3.3. Disk Duplexing

Disk duplexing is really just disk mirroring with one special difference: the physical disks are each attached to a separate controller. Disk duplexing requires two physical disks and two separate disk controllers, as shown in Figure 6.4.


Figure 6.4.  Disk duplexing requires two physical disks and two controllers.

The addition of the second controller will reduce bus traffic, generally increasing the performance over that of mirroring alone. As with mirroring there is a cost of 50 percent of the disk space used.

6.4. Configuring RAID5

RAID5 is implemented on NT Server in the form of stripe sets with parity. It is the with parity that differentiates this implementation from simple RAID0 or stripe sets. A stripe set with parity is created from areas of free space from 3 to 32 physical disks. The greater the number of disks included in the array, the greater the performance and less the overall cost. In order to provide redundancy, parity information is spread across all disks in the array. In earlier RAID implementations such as RAID4, a single disk was used to hold the parity information. If a disk in the array fails, the data can be regenerated from parity information.

Overall, the performance of stripe sets with parity is greater than that of mirror sets. If a disk fails, however, read performance will be degraded because the data must be regenerated.

The overall space attributed to the parity stripe is equal to the space of one partition in the stripe. For example, a stripe set with parity created from equal 100MB areas of space from three drives would yield a total usable area of 200MB. If a total of five disks were used, the usable space would equal 400MB.

6.4.1. Creating a Stripe Set with Parity

The stripe set with parity is created from areas of free space on a minimum of three physical disks.

1.  Using Disk Administrator, simply hold the Ctrl key while selecting the areas of space to combine into the stripe set with parity. The largest common denominator across the areas of space selected determines the maximum amount that each area can contribute, in this case 210MB.
2.  Select Create Stripe Set With Parity from the Fault Tolerance menu (see Figure 6.5).
3.  Specify the desired size of the stripe set up to the maximum value based on the smallest common area (see Figure 6.6).
4.  The resulting stripe set with parity is 630MB (see Figure 6.7). After subtracting the overhead for the parity stripe the usable space will be 420MB.


Figure 6.5.  Disk Administrator to establish a stripe set with parity.


Figure 6.6.  Sizing the stripe set with parity.


Previous Table of Contents Next


Products |  Contact Us |  About Us |  Privacy  |  Ad Info  |  Home

Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc.
All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited.